package com.im.common;

import io.netty.util.AttributeKey;

/**
 * 绑定在channel的附加信息
 *
 * @author szw
 * @since 2020-12-14
 */
public interface CustomChannelAttribute {

    /**
     * 用户信息
     */
    AttributeKey<UserInfo> CHANNEL_USER_INFO_KEY =
            AttributeKey.valueOf("CHANNEL_USER_INFO");
}
